<template>
    <div class="common-header">
        <van-icon name="arrow-left" @click="$router.back()"/>
        <slot></slot>
        <span></span>
    </div>
</template>

<style scoped>
.common-header {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    background-color: #fff;
    font-size: 28px;
}
</style>